import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './assets/css/global.css'

import './plugins/element.js'
import 'element-ui/lib/theme-chalk/index.css';
import Axios from './api/axios'

Vue.config.productionTip = false

// axios.defaults.baseURL = 'http://localhost:8086/'
// axios.defaults.baseURL = 'http://8.130.11.92:8086/'
/*axios.interceptors.request.use( config =>{
  console.log(config)
  config.headers.Authorization=window.sessionStorage.getItem('token')
  return config
})*/
// Vue.prototype.$http = Axios

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
